package com.xigua.JucOfBeautiful.chapterThree._3_2;

import java.util.concurrent.ThreadLocalRandom;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2022/1/2822:27
 */
public class RandomTest {


    public static void main(String[] args) {
        ThreadLocalRandom random = ThreadLocalRandom.current();
        for (int i = 0; i < 10; i++) {
            System.out.println(random.nextInt(5));
        }

    }


}
